package com.zp.qualitypractice.bar;

import android.os.Bundle;
import android.support.v7.widget.Toolbar;

import com.zp.qualitypractice.R;
import com.zp.qualitypractice.activity.BaseActivity;

import butterknife.BindView;

/**
 * Created by izp on 2017/8/14.
 */

public class BarDemoActivity extends BaseActivity {
    @BindView(R.id.toolbar_main)
    Toolbar toolbarMain;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
//        toolbarMain = (Toolbar) findViewById(R.id.toolbar_main);
        int color = 0xffaa66cc;
        toolbarMain.setBackgroundColor(color);
        setImmersiveStatusBar(false, color);
    }

    @Override
    protected int bindContentLayout() {
        return R.layout.activity_bar_demo;
    }
}
